package com.zll.dmsboot;

import com.github.davidfantasy.mybatisplus.generatorui.GeneratorConfig;
import com.github.davidfantasy.mybatisplus.generatorui.MybatisPlusToolsApplication;

/**
 * @Description:
 * @Author: zll
 * @Date: 2020/7/4 20:06
 */
public class MybatisPlusGeneratorUi {
    public static void main(String[] args) {
        GeneratorConfig config = GeneratorConfig.builder().jdbcUrl("jdbc:mysql://localhost:3306/dms-boot")
                .userName("root")
                .password("root")
                .driverClassName("com.mysql.cj.jdbc.Driver")
                .basePackage("com.zll.dmsboot")
                .port(8068)
                .build();
        MybatisPlusToolsApplication.run(config);
    }
}
